﻿namespace WMS6.Web.StockCountServiceRef
{
    using System;
    using System.CodeDom.Compiler;
    using System.Diagnostics;
    using System.Runtime.Serialization;

    [Serializable, DebuggerStepThrough, GeneratedCode("System.Runtime.Serialization", "3.0.0.0"), DataContract(Name="CycleCountReleaseQueryEntity", Namespace="http://schemas.datacontract.org/2004/07/WMS6.QueryEntity")]
    public class CycleCountReleaseQueryEntity : BaseQuery
    {
        [OptionalField]
        private string CreatedByField;
        [OptionalField]
        private string LocField;
        [OptionalField]
        private string OwnerIDField;
        [OptionalField]
        private string ReleaseDateField;
        [OptionalField]
        private string ReleaseIDField;
        [OptionalField]
        private string SkuIDField;
        [OptionalField]
        private string StatusField;

        [DataMember]
        public string CreatedBy
        {
            get
            {
                return this.CreatedByField;
            }
            set
            {
                if (!object.ReferenceEquals(this.CreatedByField, value))
                {
                    this.CreatedByField = value;
                    base.RaisePropertyChanged("CreatedBy");
                }
            }
        }

        [DataMember]
        public string Loc
        {
            get
            {
                return this.LocField;
            }
            set
            {
                if (!object.ReferenceEquals(this.LocField, value))
                {
                    this.LocField = value;
                    base.RaisePropertyChanged("Loc");
                }
            }
        }

        [DataMember]
        public string OwnerID
        {
            get
            {
                return this.OwnerIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.OwnerIDField, value))
                {
                    this.OwnerIDField = value;
                    base.RaisePropertyChanged("OwnerID");
                }
            }
        }

        [DataMember]
        public string ReleaseDate
        {
            get
            {
                return this.ReleaseDateField;
            }
            set
            {
                if (!object.ReferenceEquals(this.ReleaseDateField, value))
                {
                    this.ReleaseDateField = value;
                    base.RaisePropertyChanged("ReleaseDate");
                }
            }
        }

        [DataMember]
        public string ReleaseID
        {
            get
            {
                return this.ReleaseIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.ReleaseIDField, value))
                {
                    this.ReleaseIDField = value;
                    base.RaisePropertyChanged("ReleaseID");
                }
            }
        }

        [DataMember]
        public string SkuID
        {
            get
            {
                return this.SkuIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.SkuIDField, value))
                {
                    this.SkuIDField = value;
                    base.RaisePropertyChanged("SkuID");
                }
            }
        }

        [DataMember]
        public string Status
        {
            get
            {
                return this.StatusField;
            }
            set
            {
                if (!object.ReferenceEquals(this.StatusField, value))
                {
                    this.StatusField = value;
                    base.RaisePropertyChanged("Status");
                }
            }
        }
    }
}

